package system.commodityManagement;

/**
 * Created by 陈文杰 on 2022/4/13 20:56
 */
public interface CommodityManagementInterface {
    //1.商品入库方法
    boolean commodityStorage(String name, int count);

    //2.商品出库方法
    boolean commodityRemoval(String name, int count);
    boolean commodityRemoval(int id, int count);

    //3.新增商品方法
    boolean newlyCommodity(String name, int count, double price);

    //4.查询全部商品方法
    void inquireCommodityAll();

    //5.按编号查询商品
    void inquireCommodityAccordingNum(Integer id);
}
